package com.syl.starter.itools.base.exception;

import com.syl.starter.itools.framework.beans.VerifyFailResult;
import lombok.Getter;

/**
 * 参数错误异常
 *
 * @author syl
 * @create 2018-09-23 14:43
 **/
public class ParamVerifyException extends RuntimeException{
    @Getter
    private VerifyFailResult failResult;

    public ParamVerifyException(String message) {
        super(message);
    }

    public ParamVerifyException(String message, VerifyFailResult failResult) {
        super(message);
        this.failResult = failResult;
    }

}
